package org.example.model;

import java.math.BigDecimal;
import java.util.Date;

public class Product {
    private Integer productId;
    private String name;
    private String description;
    private BigDecimal price;
    private String image;
    private Integer stock;
    private String brand;
    private String status;
    private Integer categoryId;
    private Double discount;
    private Integer sales;
    private Date createTime;

    // Getters
    public Integer getProductId() {
        return productId;
    }

    public String getName() {
        return name;
    }

    public String getDescription() {
        return description;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public String getImage() {
        return image;
    }

    public Integer getStock() {
        return stock;
    }

    public String getBrand() {
        return brand;
    }

    public String getStatus() {
        return status;
    }

    public Integer getCategoryId() {
        return categoryId;
    }

    public Double getDiscount() {
        return discount;
    }

    public Integer getSales() {
        return sales;
    }

    public Date getCreateTime() {
        return createTime;
    }

    // Setters
    public void setProductId(Integer productId) {
        this.productId = productId;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public void setImage(String image) {
        this.image = image;
    }

    public void setStock(Integer stock) {
        this.stock = stock;
    }

    public void setBrand(String brand) {
        this.brand = brand;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public void setCategoryId(Integer categoryId) {
        this.categoryId = categoryId;
    }

    public void setDiscount(Double discount) {
        this.discount = discount;
    }

    public void setSales(Integer sales) {
        this.sales = sales;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
} 